<!DOCTYPE html>
<html lang="zh-CN">

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>请购买正版授权 - 小枫拟态v5pro</title>
	<link href="/admin/css/bootstrap.min.css" type="text/css" rel="stylesheet">
	<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
	<style>
		.container {
			max-width: 600px;
			margin-top: 50px;
		}
	</style>
</head>

<body>
	<div id="app" class="container">
		<h1 class="text-center mb-4"><%= msg %></h1>
		<form @submit.prevent="verifyAuthorization">
			<div class="mb-3">
				<label for="km" class="form-label">授权卡密</label>
				<input type="text" name="km" id="km" v-model.trim="authInfo.km" class="form-control" placeholder="请输入授权卡密" required>
			</div>
			<div class="mb-3">
				<label for="domain" class="form-label">授权域名</label>
				<input type="text" name="domain" id="domain" v-model.trim="authInfo.domain" class="form-control" placeholder="请输入授权域名" required>
			</div>
			<div class="mb-3">
				<label for="qq" class="form-label">QQ号</label>
				<input type="number" name="qq" id="qq" class="form-control" v-model.trim="authInfo.qq" placeholder="请输入你的QQ号" required>
			</div>
			<div class="mb-3">
				<label for="key" class="form-label">二次授权秘钥</label>
				<input type="text" name="key" id="key" class="form-control" v-model.trim="authInfo.key" placeholder="输入卡密生成的秘钥 (第一次授权无需填写)">
				<div class="form-text fs-7 text-danger">注意: 如果你是第二次验证域名必须去授权站通过卡密获取秘钥，否则会验证失败</div>
			</div>
			<div class="mt-4 w-100 d-flex justify-content-between">
				<button type="submit" class="btn btn-primary">提交</button>
				<div>
					<a href="https://auth.nitai5pro.xfabe.com" target="_blank" rel="noopener noreferrer" class="btn btn-outline-success">点击购买授权</a>
					<!-- 这里修改联系图片 -->
					<a id="xf-PicBlackbox" data-pic="https://player.xfyun.club/img/WechatIMG106.jpg" data-text="扫码联系合作" class="btn btn-outline-danger">合作联系</a>
				</div>
			</div>
		</form>
	</div>
	<script src="/admin/js/vue.min.js"></script>
	<script src="/admin/js/sweetalert.min.js"></script>
	<script src="https://player.xfyun.club/js/xf-Picture-Blackbox/xf-PictureBlackbox.min.js"></script>
	<script src="/admin/js/nitai5pro/auth.js"></script>
</body>

</html>